package org.itboys.core.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * Auther: 罗尧坤
 * Date: 2018/8/23
 * Description: 主页显示配置
 */

@Entity(value = "SundayIndexConfig", noClassnameStored = true)
public class SundayIndexConfig extends BaseMongoEntity {
    private String name;//名称
    private Integer sequence;//排序值
    private Integer status;//状态

    public SundayIndexConfig() {
    }

    public SundayIndexConfig(String name) {
        this.name = name;
    }

    public SundayIndexConfig(String name, Integer sequence) {
        this.name = name;
        this.sequence = sequence;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
